package ooday01;

public class Student02 {
    String surname;
    String hobby;
    double tall;
    double heavy;


    Student02(String surname,String hobby,double tall,double heavy){
       surname=surname;
        hobby=hobby;
        tall=tall;
        heavy=heavy;
    }
    void information(){
        System.out.println("这个人是"+surname+"同学"+"，身高"+tall+"体重"+heavy+"喜欢"+hobby);
    }
}
